<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ActividadBusqueda.aspx.cs" Inherits="ActividadBusqueda" %>
 
 
 
          
          <% if (loDT.Count > 0)
             { %>
                <table cellspacing="0" border="1"  id="ctl00_ContentPlaceHolder1_grilla" style=" border-color:White;" width="100%">
                    <tr style="color:White;font-weight:bold;">
                      
                        <!-- MOSTRAMOS LA CABECERA -->
                        <% for (int i = 0; i < cabecera.Length; i++)
                           {%>
                            <th class="ordenar" <%= (ancho != null && ancho.Length > i) ? "with='"+ancho[i]+"'" : "" %> onclick="requestData('<%=Tarea.JSEncode(detalle[i])%>');" scope="col"> &nbsp;<%=HttpUtility.HtmlEncode(cabecera[i]) %> <span class="<%=pagina.getEstiloColumnaOrdenar(HttpUtility.HtmlEncode(detalle[i])) %>" scope="col">&nbsp;&nbsp;</span> </th>
                        <% } %>
                    
                        
                       <th width="65" scope="col">&nbsp;</th>
                        <% if (isfoto)
                       {%><th width="65" scope="col">&nbsp;</th>
                        <%} %>
                    </tr>
            		
            		<!-- MOSTRAMOS EL DETALLE-->
                 <% for (int i = 0; i < loDT.Count; i++)
                    {
                        Refactor type = new Refactor(loDT[i]);
                 %>
                 <tr onmouseover="trHover(this);">
    
                         <% foreach (string campodetalle in detalle)
                            {%>
                         <td title="<%=type.getValue(campodetalle)%>"><%=type.getValue(campodetalle)%></td>
                         <% } %>
                    
                   
                    <td>
                        <img  class="NoBorder" src="<%=Request.ApplicationPath %>/Images/bg/googleEarth.gif" style="border-width:0px; cursor:pointer;" 
                              onclick="verMapa('<%=type.getValueJS("ID")%>'); return false; "
                                />
                    </td>
                    
                    <% if (isfoto)
                       {%>
                    <td >
                        <img  class="NoBorder" src="<%=Request.ApplicationPath %>/Images/bg/camara.png" style="border-width:0px; cursor:pointer;" 
                              onclick="verFoto('<%=type.getValueJS("ID")%>'); return false; "
                                />
                    </td>
                    <%} %>
                 </tr> 
                <% }%>          
                </table>
          
<%--            		
        </div>
        </div>
      </div>--%>
   <%--  </fieldset>--%>
     <!-- MOSTRAMOS LA PAGINACION-->
      <div id="bg_bottom">
             <p class="paginator">
                        <% foreach (PaginaItemBean paginaIten in pagina.listaNumeros)
                           {%>
                              <%= paginaIten.Mostrar%> &nbsp;  
                            
                            <%}%>
                        
             </p>
       </div>
       
       <% } %>
    <input type="hidden" id="hidBuscarCampo" value="<%=HttpUtility.HtmlEncode(pagina.buscarNombre )%>" />
    <input type="hidden" id="hidBuscarOrden" value="<%=pagina.buscarOrden%>" />
    <input type="hidden" id="hidCamposBusqueda" value="<%=HttpUtility.HtmlEncode(camposBusqueda)%>" />
    <input type="hidden" id="hidTotalRegistros" value="<%=pagina.getTotalRegistros()%>" />
    
 <%--   </div>
    <div class="clear">
        &nbsp;
    </div>--%>
 